var app=getApp();
Page({
  data: {
    display: true,
    display_user:false,
    src:'',
    text:'',
    logo:0
  },
  onLoad: function (options) {
    
  },
  getUrl:function(e){
    console.log(e),
    app.user.name=e.detail.userInfo.nickName,
    console.log(app.user)
    this.setData({
      src:e.detail.userInfo,
      text:e.detail.userInfo,
      display:false,
      display_user:true
    })
  },
  buys_success:function(){
    wx.navigateTo({
      url: '../../buys_success/buys_success'
    })
  }
 
})